package com.power.thread.concept;

public class Mythread extends Thread {
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
    }
    public static void main(String[] args) {
        Mythread mythread = new Mythread();
        mythread.start();
    }

}
